package com.evan.designpatterns.observer.refactor.event.abstracts;

import com.evan.designpatterns.observer.refactor.Question;

/**
 * @author :liujiapeng01
 * @date :2019-03-19 16:59
 **/
public abstract class Event {

    private Question question;

    public Event(Question question) {
        this.question = question;
    }

    public Question getQuestion() {
        return question;
    }

    public abstract void publish();
}
